<?php
function videoCellRender($cell, $data){
	switch($cell->getColumn()->getName()){
		case 'status':
			$text = $cell->getCellText();
			$status = Kd_Localize_Helper::getLanguageItems('status.publication');
			return '<span>'.$status[$text].'</span>';
	}
	return FALSE;
}
$this->grid->setCellRender(videoCellRender);
$this->setLayout('template'.DS.'default.phtml');

$this->startBlock('topbar');
echo $this->navigation->toHtml();
$this->endBlock();

$this->startBlock();
echo $this->loadTemplate('share'.DS.'areagrid.phtml', array('grid'=>$this->grid, 'pagination'=>$this->pagination, 'toolbar'=>$this->toolbar));
$this->endBlock();

$this->startBlock('bottombar');
echo $this->pagination->toHtml();
$this->endBlock();